package com.hibernate;

import java.sql.Timestamp;

/**
 * Productcase entity. @author MyEclipse Persistence Tools
 */

public class Productcase implements java.io.Serializable {

	// Fields

	private Integer id;
	private Category categoryByType;
	private Category categoryByClassid;
	private Userinfo userinfo;
	private String address;
	private String advantage;
	private String briefintroduction;
	private String companyname;
	private Long ispublish;
	private String name;
	private String officephone;
	private String picture;
	private Timestamp time;

	// Constructors

	/** default constructor */
	public Productcase() {
	}

	/** full constructor */
	public Productcase(Category categoryByType, Category categoryByClassid,
			Userinfo userinfo, String address, String advantage,
			String briefintroduction, String companyname, Long ispublish,
			String name, String officephone, String picture, Timestamp time) {
		this.categoryByType = categoryByType;
		this.categoryByClassid = categoryByClassid;
		this.userinfo = userinfo;
		this.address = address;
		this.advantage = advantage;
		this.briefintroduction = briefintroduction;
		this.companyname = companyname;
		this.ispublish = ispublish;
		this.name = name;
		this.officephone = officephone;
		this.picture = picture;
		this.time = time;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Category getCategoryByType() {
		return this.categoryByType;
	}

	public void setCategoryByType(Category categoryByType) {
		this.categoryByType = categoryByType;
	}

	public Category getCategoryByClassid() {
		return this.categoryByClassid;
	}

	public void setCategoryByClassid(Category categoryByClassid) {
		this.categoryByClassid = categoryByClassid;
	}

	public Userinfo getUserinfo() {
		return this.userinfo;
	}

	public void setUserinfo(Userinfo userinfo) {
		this.userinfo = userinfo;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getAdvantage() {
		return this.advantage;
	}

	public void setAdvantage(String advantage) {
		this.advantage = advantage;
	}

	public String getBriefintroduction() {
		return this.briefintroduction;
	}

	public void setBriefintroduction(String briefintroduction) {
		this.briefintroduction = briefintroduction;
	}

	public String getCompanyname() {
		return this.companyname;
	}

	public void setCompanyname(String companyname) {
		this.companyname = companyname;
	}

	public Long getIspublish() {
		return this.ispublish;
	}

	public void setIspublish(Long ispublish) {
		this.ispublish = ispublish;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getOfficephone() {
		return this.officephone;
	}

	public void setOfficephone(String officephone) {
		this.officephone = officephone;
	}

	public String getPicture() {
		return this.picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public Timestamp getTime() {
		return this.time;
	}

	public void setTime(Timestamp time) {
		this.time = time;
	}

}